<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http：//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>销售订单页脚</title>
    <%= stylesheet_link_tag "/stylesheets/print.css" %>
    <style type="text/css">
      .table tr td{border:solid 1px;font-size:13px;}
    </style>
  </head>
  <body>
    <table width="780" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70" >制 单 人：</td>
        <td width="135"><%=@saleOrder.employee.name %></td>
        <td width="70">已付金额：</td>
        <td width="107"><%=@saleOrder.rec_amount %></td>
        <td width="70">应收金额：</td>
        <td width="109"><%=number_with_delimiter( '%.2f' % @saleOrder.amount) %></td>
        <td width="70"></td>
        <td width="97"></td>
      </tr>
      <tr>
        <td width="70">仓库签字：</td>
        <td width="135"></td>
        <td width="70">业务签字：</td>
        <td width="107"></td>
        <td width="70">客户签字：</td>
        <td width="109"></td>
        <td width="70">账务盖章：</td>
        <td width="97"></td>
      </tr>
      <tr>
        <td width="70">客户电话：</td>
        <td colspan="6"><%=@saleOrder.phone %></td>
      </tr>
      <tr>
        <td width="70">送货地址：</td>
        <td colspan="6"><%=@saleOrder.delivery_address %></td>
      </tr>
    </table>
  </body>
</html>